/*
 *  Copyright © 2014 CIB Co.Ltd
 *  * All right reserved
 *  * Auther:jin xingwang
 *
 */
package com.jwts.common;

/**
 * 模块
 * @author 靳兴旺
 * @version 1.0.0 2020-7-15
 * 枚举类，jwt结构的头部信息
 */
public enum Header {
    /** MD5加密 */
    MD5("md5","密码散列函数"),

    /** RSA加密 */
    RSA("rsa", "公钥算法");

    /** 加密算法 */
    private String code;
    /** 密钥 */
    private String details;

    Header (String code, String details){
        this.code = code;
        this.details = details;
    }
}
